<%= error_messages_for 'edge' %>

<!--[form:edge]-->
<p><label for="edge_source">Source</label><br/>
<%=collection_select('edge', 'source', community_nodes_select(), :id, :name)%>

<p><label for="edge_target">Target</label><br/>
<%=collection_select('edge', 'target', community_nodes_select(), :id, :name)%>
<!--[eoform:edge]-->

